package structuralpattern.bridge;

public class Test {
    public static void main(String[] args) {
        OperationSystemVersion os = new Windows(new AVIFile());
        os.play("战狼1");

        os = new Windows(new REVBBFile());
        os.play("战狼1");

        OperationSystemVersion os2 = new Mac(new REVBBFile());
        os2.play("战狼2");
    }
}
